package cn.findviewbydream.evil.main.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/********************************************
 * 工程名：HebeuCS
 * 包名：cn.findviewbydream.evil.main.entity
 * 时间：16-10-31 下午7:07
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：用户表
 ********************************************/
public class UserEntity implements Serializable
{
    private String userName;/*账号*/
    private String userPassword;/*密码*/
    private String userRealName;/*真实姓名*/
    private String userImgPath;/*用户头像地址*/
    private Date userRegisterTime;/*注册时间*/
    private Date userLastloginTime;/*最后登录时间*/

    public UserEntity()
    {
    }

    public UserEntity(String userName, String userPassword)
    {
        this.userName = userName;
        this.userPassword = userPassword;
    }

    public UserEntity(String userName, String userPassword, String userRealName)
    {
        this.userName = userName;
        this.userPassword = userPassword;
        this.userRealName = userRealName;
    }

    public UserEntity(String userName, String userPassword, String userRealName, String userImgPath, Date
            userRegisterTime, Date userLastloginTime)
    {
        this.userName = userName;
        this.userPassword = userPassword;
        this.userRealName = userRealName;
        this.userImgPath = userImgPath;
        this.userRegisterTime = userRegisterTime;
        this.userLastloginTime = userLastloginTime;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserPassword()
    {
        return userPassword;
    }

    public void setUserPassword(String userPassword)
    {
        this.userPassword = userPassword;
    }

    public String getUserRealName()
    {
        return userRealName;
    }

    public void setUserRealName(String userRealName)
    {
        this.userRealName = userRealName;
    }

    public String getUserImgPath()
    {
        return userImgPath;
    }

    public void setUserImgPath(String userImgPath)
    {
        this.userImgPath = userImgPath;
    }

    public Date getUserRegisterTime()
    {
        return userRegisterTime;
    }

    public void setUserRegisterTime(Date userRegisterTime)
    {
        this.userRegisterTime = userRegisterTime;
    }

    public Date getUserLastloginTime()
    {
        return userLastloginTime;
    }

    public void setUserLastloginTime(Date userLastloginTime)
    {
        this.userLastloginTime = userLastloginTime;
    }

    @Override
    public String toString()
    {
        return "UserEntity{" +
                "userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userRealName='" + userRealName + '\'' +
                ", userImgPath='" + userImgPath + '\'' +
                ", userRegisterTime=" + userRegisterTime +
                ", userLastloginTime=" + userLastloginTime +
                '}';
    }
}
